using System;
using System.ComponentModel;
namespace MicroMsg.UI.Model
{
	public class ContactListItemObject : INotifyPropertyChanged
	{
		private bool mIsCategory;
		private string mTitle;
		private string mHeadImgSrc;
		private string mDetailInfo;
		public event PropertyChangedEventHandler PropertyChanged = delegate(object sender, PropertyChangedEventArgs e)
		{
		};
		public bool IsCategory
		{
			get
			{
				return this.mIsCategory;
			}
			set
			{
				this.mIsCategory = value;
				this.NotifyPropertyChanged("IsCategory");
			}
		}
		public string Title
		{
			get
			{
				return this.mTitle;
			}
			set
			{
				this.mTitle = value;
				this.NotifyPropertyChanged("Title");
			}
		}
		public string HeadImgSrc
		{
			get
			{
				return this.mHeadImgSrc;
			}
			set
			{
				this.mHeadImgSrc = value;
				this.NotifyPropertyChanged("HeadImgSrc");
			}
		}
		public string DetailInfo
		{
			get
			{
				return this.mDetailInfo;
			}
			set
			{
				this.mDetailInfo = value;
				this.NotifyPropertyChanged("DetailInfo");
			}
		}
		protected void NotifyPropertyChanged(string propertyName)
		{
			this.PropertyChanged.Invoke(this, new PropertyChangedEventArgs(propertyName));
		}
	}
}
